@%WINDIR%\system32\windowspowershell\v1.0\powershell.exe .\Tasks\configureIis.ps1

@echo search config gadget
%WINDIR%\system32\inetsrv\appcmd search config /section:system.webServer/StaticContent -[fileExtension='.gadget'].fileExtension	
@if errorlevel 1 goto :setgadget

@goto :exit

:setgadget
@echo set config gadget
%WINDIR%\system32\inetsrv\appcmd set config /section:system.webServer/StaticContent /+[fileExtension='.gadget',mimeType='application/binary']


@echo set config gadget complete


:exit
@echo Finished
